package ResponseCode

type ResponseCode struct {
	Code string
	Info string
}

var (
	SUCCESS = ResponseCode{
		Code: "0000",
		Info: "调用成功",
	}
	UN_ERROR = ResponseCode{
		Code: "0001",
		Info: "调用失败",
	}
	ILLEGAL_PARAMETER = ResponseCode{
		Code: "0002",
		Info: "非法参数",
	}
	INDEX_DUP = ResponseCode{
		Code: "0003",
		Info: "主键冲突",
	}
	NO_UPDATE = ResponseCode{
		Code: "0004",
		Info: "SQL操作无更新",
	}
)
